Skip to content

Simplify configuration#8

Closed
LordGaav wants to merge 2 commits into
maildev:mainfrom
LordGaav:simplify-configuration
Closed

Simplify configuration#8
LordGaav wants to merge 2 commits into
maildev:mainfrom
LordGaav:simplify-configuration

Conversation

@LordGaav

@LordGaav LordGaav commented May 2, 2023

Copy link
Copy Markdown

I've opted to simplify the configuration of this Chart by directly exposing the command, arguments and environment variables. Specifically allowing configuration of the arguments allows the user to work around the env var issue. This change also makes the Chart compatible the latest MailDev 2.x version.

This change breaks backwards compatibility, so I've also bumped the Chart version.

djfarrelly added a commit that referenced this pull request Jul 6, 2026
Adopt the flexibility idea from #8 (thanks @LordGaav) without giving up
the structured, documented values. extraArgs are appended after the
chart-generated flags and extraEnv is passed through verbatim, so users
can set any maildev option the chart does not model — including env from
Secrets via valueFrom, which a plain env map cannot express.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@djfarrelly

Copy link
Copy Markdown
Member

Thanks @LordGaav — the escape-hatch idea here is the right instinct. We're consolidating the maildev 2.x fix into #9, which keeps structured/documented values for the common options (and can wire up the auto-relay ConfigMap + volume, which a raw env map can't) while adding extraArgs and extraEnv passthroughs for anything the chart doesn't model — including env from Secrets via valueFrom. Credited you in the commit. Closing this in favor of #9 once it merges; please give it a look.

djfarrelly added a commit that referenced this pull request Jul 7, 2026
Adopt the flexibility idea from #8 (thanks @LordGaav) without giving up
the structured, documented values. extraArgs are appended after the
chart-generated flags and extraEnv is passed through verbatim, so users
can set any maildev option the chart does not model — including env from
Secrets via valueFrom, which a plain env map cannot express.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@djfarrelly djfarrelly closed this Jul 7, 2026
@djfarrelly djfarrelly mentioned this pull request Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants